From: Carlos Garnacho Date: Fri, 12 Feb 2021 11:24:12 +0000 (+0100) Subject: overview: Clean up dead code X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~616^2^2~306 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=f7f46ca9ac11aadce2a575a0f3d8fc87ff8a1f19;p=gnome-shell.git overview: Clean up dead code These unused functions accessed undefined functions on a now undefined variable/class. This vestigial code can go away. Part-of: --- diff --git a/js/ui/overview.js b/js/ui/overview.js index af3e5be2b..6fbc39b4e 100644 --- a/js/ui/overview.js +++ b/js/ui/overview.js @@ -115,10 +115,6 @@ class OverviewActor extends St.BoxLayout { return this._controls.searchEntry; } - get viewSelector() { - return this._controls.viewSelector; - } - get controls() { return this._controls; } @@ -249,14 +245,6 @@ var Overview = class { this._swipeTracker = swipeTracker; } - addSearchProvider(provider) { - this._overview.viewSelector.addSearchProvider(provider); - } - - removeSearchProvider(provider) { - this._overview.viewSelector.removeSearchProvider(provider); - } - // // options: // - undoCallback (function): the callback to be called if undo support is needed